package com.wf.course.model.goods;

import java.math.BigDecimal;

import javax.persistence.Transient;


public class GoodsOrderRelation {
	
	private Integer id;
	private Integer goodsId; //商品编号
	private String orderCode; //订单编号（对应订单表的orderCode）
	private Integer goodsCount; //购买的商品数量
	
	private Integer saleFlag; //是否秒杀(0.否 1.是)
	private BigDecimal goodsPrice; //商品最终支付价格
	private Integer goodsSort; //商品分类（1.课程 2.章节3.vip卡4商品）
	private String goodsName; //商品名称
	private String goodsImg; //商品图片
	private String specification;//商品规格
	private Integer deleteFlag ;//逻辑删除	
	private String courseAmount;//课程总额;
	private String goodsAmount;//商品总额;
	private String saleAmount; //销售总额；
	
	 private String  orderBeginTime; //订单生成时间
	 private String  orderEndTime; //订单生成结束时间
	 private String   userSource;//渠道来源
	 
	 private String telephone;//用户电话
	 private Integer orderStatus;//订单状态
	 private Integer isEvaluate;//是否评价
	 
	 private Integer courseId;//课程编号
	 private Integer chapterId;//章节编号
	 private Integer cardId;//年卡编号
	 
	 private String courseIds;//课程编号（支持多选）
	 private String chapterIds;//章节编号（支持多选）
	 private String cardIds;//年卡编号（支持多选）
	 
	 private String  saleNum;//各商品销售额
	 
	 private String copperCash;//是否使用铜钱
	 private BigDecimal orderAmount;//订单总额
	 
	 private BigDecimal freight;
	 
	 private Integer backFlag; //是否退货：0.否 1.是
	 
	 private Integer saleCounts;//商品销售量
	 private String orderPayTime;//商品支付时间
	 
	  private String oldCopperCash;//原铜钱
	  private String newCopperCash;//新铜钱
	  private String gold;//金币
	  private String newGold;//新金币
	  private String version;//版本号
	  @Transient 
	  private String activityCash;
	  @Transient 
	  private String couponsCash;
	  @Transient 
	  private String realPay;
	  @Transient 
	  private String speakerName;//授课老师
	  @Transient 
	  private String ccname;//商品二级分类
	  @Transient 
	  private String realIncome;
	  private String errorvalue;//误差值(3.0)
	  private Integer userId;//用户编号
	  private String createTime;//创建时间
	  private String errorvalues;//误差值(2.0)
	private String courseName;
	public BigDecimal getOrderAmount() {
		return orderAmount;
	}
	public void setOrderAmount(BigDecimal orderAmount) {
		this.orderAmount = orderAmount;
	}
	public Integer getCourseId() {
		return courseId;
	}
	public String getSaleNum() {
		return saleNum;
	}
	public void setSaleNum(String saleNum) {
		this.saleNum = saleNum;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public String getCopperCash() {
		return copperCash;
	}
	public void setCopperCash(String copperCash) {
		this.copperCash = copperCash;
	}
	public void setCourseId(Integer courseId) {
		this.courseId = courseId;
	}


	public Integer getChapterId() {
		return chapterId;
	}
	public void setChapterId(Integer chapterId) {
		this.chapterId = chapterId;
	}
	public Integer getBackFlag() {
		return backFlag;
	}
	public void setBackFlag(Integer backFlag) {
		this.backFlag = backFlag;
	}
	public BigDecimal getFreight() {
		return freight;
	}
	public void setFreight(BigDecimal freight) {
		this.freight = freight;
	}
	public Integer getCardId() {
		return cardId;
	}
	public void setCardId(Integer cardId) {
		this.cardId = cardId;
	}
	public String getCourseAmount() {
		return courseAmount;
	}
	public void setCourseAmount(String courseAmount) {
		this.courseAmount = courseAmount;
	}
	 
	public String getSaleAmount() {
		return saleAmount;
	}
	public void setSaleAmount(String saleAmount) {
		this.saleAmount = saleAmount;
	}
	public String getOrderBeginTime() {
		return orderBeginTime;
	}
	public void setOrderBeginTime(String orderBeginTime) {
		this.orderBeginTime = orderBeginTime;
	}
	public Integer getIsEvaluate() {
		return isEvaluate;
	}
	public void setIsEvaluate(Integer isEvaluate) {
		this.isEvaluate = isEvaluate;
	}
	public String getOrderEndTime() {
		return orderEndTime;
	}
	public void setOrderEndTime(String orderEndTime) {
		this.orderEndTime = orderEndTime;
	}
	public String getGoodsAmount() {
		return goodsAmount;
	}
	public void setGoodsAmount(String goodsAmount) {
		this.goodsAmount = goodsAmount;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getGoodsId() {
		return goodsId;
	}
	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}
	 
	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	public Integer getOrderStatus() {
		return orderStatus;
	}
	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}
	public String getOrderCode() {
		return orderCode;
	}
	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}
	public Integer getSaleFlag() {
		return saleFlag;
	}
	public void setSaleFlag(Integer saleFlag) {
		this.saleFlag = saleFlag;
	}
	 
	public BigDecimal getGoodsPrice() {
		return goodsPrice;
	}
	public void setGoodsPrice(BigDecimal goodsPrice) {
		this.goodsPrice = goodsPrice;
	}
	public Integer getGoodsSort() {
		return goodsSort;
	}
	public String getUserSource() {
		return userSource;
	}
	public void setUserSource(String userSource) {
		this.userSource = userSource;
	}
	public void setGoodsSort(Integer goodsSort) {
		this.goodsSort = goodsSort;
	}
	public String getGoodsName() {
		return goodsName;
	}
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	public String getGoodsImg() {
		return goodsImg;
	}
	public void setGoodsImg(String goodsImg) {
		this.goodsImg = goodsImg;
	}
	public Integer getGoodsCount() {
		return goodsCount;
	}
	public void setGoodsCount(Integer goodsCount) {
		this.goodsCount = goodsCount;
	}
	public String getSpecification() {
		return specification;
	}
	public void setSpecification(String specification) {
		this.specification = specification;
	}
	public String getCourseIds() {
		return courseIds;
	}
	public void setCourseIds(String courseIds) {
		this.courseIds = courseIds;
	}
	public String getChapterIds() {
		return chapterIds;
	}
	public void setChapterIds(String chapterIds) {
		this.chapterIds = chapterIds;
	}
	public String getCardIds() {
		return cardIds;
	}
	public void setCardIds(String cardIds) {
		this.cardIds = cardIds;
	}
	public Integer getSaleCounts() {
		return saleCounts;
	}
	public void setSaleCounts(Integer saleCounts) {
		this.saleCounts = saleCounts;
	}
	public String getOrderPayTime() {
		return orderPayTime;
	}
	public void setOrderPayTime(String orderPayTime) {
		this.orderPayTime = orderPayTime;
	}
	public String getOldCopperCash() {
		return oldCopperCash;
	}
	public void setOldCopperCash(String oldCopperCash) {
		this.oldCopperCash = oldCopperCash;
	}
	public String getNewCopperCash() {
		return newCopperCash;
	}
	public void setNewCopperCash(String newCopperCash) {
		this.newCopperCash = newCopperCash;
	}
	public String getGold() {
		return gold;
	}
	public void setGold(String gold) {
		this.gold = gold;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public String getActivityCash() {
		return activityCash;
	}
	public void setActivityCash(String activityCash) {
		this.activityCash = activityCash;
	}
	public String getCouponsCash() {
		return couponsCash;
	}
	public void setCouponsCash(String couponsCash) {
		this.couponsCash = couponsCash;
	}
	public String getRealPay() {
		return realPay;
	}
	public void setRealPay(String realPay) {
		this.realPay = realPay;
	}
	public String getSpeakerName() {
		return speakerName;
	}
	public void setSpeakerName(String speakerName) {
		this.speakerName = speakerName;
	}
	public String getCcname() {
		return ccname;
	}
	public void setCcname(String ccname) {
		this.ccname = ccname;
	}
	public String getRealIncome() {
		return realIncome;
	}
	public void setRealIncome(String realIncome) {
		this.realIncome = realIncome;
	}
	public String getErrorvalue() {
		return errorvalue;
	}
	public void setErrorvalue(String errorvalue) {
		this.errorvalue = errorvalue;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getErrorvalues() {
		return errorvalues;
	}
	public void setErrorvalues(String errorvalues) {
		this.errorvalues = errorvalues;
	}

	public String getCourseName() {
		return courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public String getNewGold() {
		return newGold;
	}

	public void setNewGold(String newGold) {
		this.newGold = newGold;
	}
}
